<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue05</title>
    <script src="./vue.min.js"></script>
</head>
<body>
    <div id="app">
        <span>输入邮箱：</span><input type="text" name="" id="" v-model="email"><span>&nbsp;&nbsp;{{email}}</span><br><br>
        <span>输入密码：</span><input type="pwd" name="" id="" v-model="pwd"><span>&nbsp;&nbsp;{{pwd}}</span><br><br>
        <div>
            <select name="" id="" v-model="selected">
                <option value="" disabled>--请选择--</option>
                <option>a</option>
                <option>b</option>
                <option>c</option>
                <option>d</option>
                <option>e</option>
                <option>f</option>
            </select>
            <p>{{selected}}</p>
        </div>
    </div>
</body>
<script>
    // vue基本语法模板
    var vm = new Vue({
        el:'#app',
        data:{
            email: "xxx@xx.xx",
            pwd:"六位数密码",
            selected:""
        }
    })
</script>
</html>